package com.universe.family.model;

import lombok.Data;

import java.io.Serializable;

@Data public class RedisUser implements Serializable {

    private String id;
    private String name;
    private Long salary;

    public RedisUser(String id, String name, Long salary) {
        this.id = id;
        this.name = name;
        this.salary = salary;
    }
}
